﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Linq;
using NUnit.Framework;
using System.ServiceModel.DomainServices.Server;
using System.Globalization;
using Agility.Web.Models.DomainModel;
using System.ComponentModel.DataAnnotations;
using System.Collections.Generic;

namespace Agility.Testing.Silverlight.ViewModels
{
    [TestFixture]
    public class EpicTests
    {
        Epic epic;

        [TestFixtureSetUp]
        public void SetupTestFixture()
        {
        }

        [TestFixtureTearDown]
        public void TeardownTestFixture()
        {
        }

        [SetUp]
        public void SetupTest()
        {
            epic = new Epic();
        }

        [TearDown]
        public void TeardownTest()
        {
        }

        #region UnitTests

        [Test]
        [Category("UnitTest")]
        public void TestOnCreated()
        {
            Assert.NotNull(epic.Id);
            Assert.AreNotEqual(Guid.Empty, epic.Id);
            Assert.NotNull(epic.CreationDate);
            Assert.AreEqual(DateTime.Today, epic.CreationDate);
            // TODO: Add tests for RequestedBy
        }
        #endregion
    }
}
